function Tab(el){
        this.el=document.querySelector(el)
        this.titleOver()
}
Tab.prototype.titleOver=function(){
    let objall=this.el.querySelectorAll('ul li')
    objall.forEach((item,i)=>{
        item.onmouseover=()=>{
            this.el.querySelector('ul li.active').className=''
            item.className='active'
            this.el.querySelector('ol li.active').className=''
            this.el.querySelectorAll('ol li')[i].className='active'
            
            
        }
    })

}
